package com.zsrt.java.day20161226.lh.homework161226.demo04;

import static org.junit.Assert.*;

import org.junit.Test;

public class ArrayUtil {
	public static void printArray(int[] arrays) {
		int len=arrays.length;
		for(int index=0;index<len;index++){
			int value=arrays[index];
			if(index==len-1){
				System.out.print(value);
				break;
			}
			System.out.print(value+", ");
			}
		System.out.println();
		
		}	


}
